![]() |
![]() |
![]() |
Set the X, Y or Z of the direction to the specified planet.
DC SET PLANET DIRECTION Planet Index, X, Y, Z
int: Planet Index
Which planet - must have been created using SET PLANET IMAGE.
float: X,Y,Z
The co-ordinate values. The direction will be post-normalized, so any values can be used as long as at least one of x, y, or z is non-zero.
This command does not return a value.
rem Add the moon load image "Moon.png",11 dc set planet image 1,11,.2 dc set planet direction 1,0.0,0.2,1.0
DC SET PLANET IMAGE.htm
DarkCLOUDS Commands Menu
Index